from __future__ import absolute_import, unicode_literals
import os

import sys
from celery import Celery
from celery.schedules import crontab
# set the default Django settings module for the 'proj' program.
os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'proj.settings')

app = Celery("proj")

app.config_from_object('proj.celeryconfig')
#app.config_from_object('django.conf:settings', namespace='CELERY')

#app.autodiscover_tasks()

if __name__ == "__main__":
    app.start()
